package com.dream.tihai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Valley
 * Created by Valley on 2022/12/14
 */
@TableName("problem")
@Data
public class ProblemEntity {

    @TableId("id")
    private long id;

    @TableField("type_id")
    private long typeId;

    @TableField("title")
    private String title;

    @TableField("img")
    private String img;

    @TableField("choice_a")
    private String choiceA;

    @TableField("choice_b")
    private String choiceB;

    @TableField("choice_c")
    private String choiceC;

    @TableField("choice_d")
    private String choiceD;

    @TableField("answer")
    private int answer;

    @TableField("parse")
    private String parse;

    @TableLogic("flag")
    private int flag;

}
